<?php
/**
 * Api puppet
 * Client call api server php
 *
 * @author thanhnd
 */

class ApiController extends CPuppetController {

    public $layout = 'main';       

    /**
     * This is the default 'index' action that is invoked
     * when an action is not explicitly requested by users.
     */
    public function actionIndex() {        
                
    }  
     
    /*
     * Quick register user
     */
    public function actionQuickRegister(){
        $user = User::model()->findAll();
        print_r($user);die;
    }    
    
}